home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20021006-20030409
/
000350_hitt@panix.com_Sun Mar 2 15:35:43 EST 2003.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
3KB
|
90 lines
Article: 14147 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!panix2.panix.com!not-for-mail
From: hitt@panix.com (Dan Hitt)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: kermit on *86 openstep 4.2 problem no such device
Date: 2 Mar 2003 15:13:48 -0500
Organization: PANIX -- Public Access Networks Corp.
Lines: 73
Message-ID: <b3tols$sf5$1@panix2.panix.com>
References: <b3tg6a$qrv$1@panix2.panix.com> <b3tjrv$q46$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: panix2.panix.com
X-Trace: reader2.panix.com 1046636028 13989 166.84.1.2 (2 Mar 2003 20:13:48 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Sun, 2 Mar 2003 20:13:48 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14147
Hi Frank,
Thanks for your very speedy response, which i've quoted in its
entirety below, because i don't know what i could cut without losing
context. Thanks for the references, which i've just read.
I thought about the permission issues, so i changed the permissions
for all the devices i tried:
> ls -l /dev/cua /dev/cub /dev/ttya /dev/ttyb
crw-rw-rw- 1 uucp 11,192 Apr 17 1997 /dev/cua
crw-rw-rw- 1 uucp 11,193 Apr 17 1997 /dev/cub
crw-rw-rw- 1 root 11, 0 Apr 17 1997 /dev/ttya
crw-rw-rw- 1 root 11, 1 Apr 17 1997 /dev/ttyb
Now, in order to follow your suggestion of figuring out which device
it is, i wrote a little c program which opens devices if possible and
prints out the error code and message when it's not possible. It
typically gives either error 13 (`Permission denied') or error 19 (`No
such device') [or else it opens successfully].
For /dev/cua, /dev/cub, /dev/ttya, /dev/ttyb it gives error 19
(`No such device'), and i imagine that's also what kermit is facing.
So i suppose that somehow i need to make there be such a device,
but i have no clues how. In the /dev directory, the command
./MAKEDEV cua
returns uneventfully (status 0), but /dev/cua still cannot
be opened (error 19, `No such device').
So, i'm all ears for any advice on how to find the right device,
or fix up a new one.
Thanks again for your response.
dan
In article <b3tjrv$q46$1@watsol.cc.columbia.edu>,
Frank da Cruz <fdc@columbia.edu> wrote:
>In article <b3tg6a$qrv$1@panix2.panix.com>, Dan Hitt <hitt@panix.com> wrote:
>: I'm trying to use kermit 8.0.206 for openstep 4.2 on a fairly new *86
>: box (circa year 2000). It compiles smoothly, but when i try to
>: use it, i get a `No such device' error.
>:
>: My exact command is
>: wermit -l /dev/cua -m hayes
>: and the exact error text is
>: /private/dev/cua: No such device
>: can't open device
>: with error status 1.
>:
>What does:
>
> ls -l /dev/cua
>
>tell you? Every Unix has a different naming scheme for serial ports; it
>even changes from one release to the next (as in Linux). Look in /dev
>for names that start with "cu", "tt", etc, and try them until you get one
>that corresponds to your port. You'll probably need to do this as root,
>since most devices are not world read-writable.
>
>Once you figure out which device it is, read:
>
> http://www.columbia.edu/kermit/ckuins.html#x10
>
>and:
>
> http://www.columbia.edu/kermit/ckuins.html#x11
>
>(Sections 10 and 11 of the C-Kermit for Unix installation instructions.)
>
>- Frank